﻿@{
    ViewBag.Title = "Form";
    Layout = "~/Views/Shared/_Form.cshtml";
    ZFine.Domain.Entity.InstructionsEntity thisobj = ViewData["objs"] as ZFine.Domain.Entity.InstructionsEntity;
    if (thisobj == null)
    {
        thisobj = new ZFine.Domain.Entity.InstructionsEntity();
    }
}
<script>
    var keyValue = $.request("keyValue");
    $(function () {
        $.ajax({
            url: "/Project/Instructions/GetFormJsonC",
            data: { keyValue: keyValue },
            dataType: "json",
            async: false,
            success: function (data) {
                $("#form1").formSerialize(data);
                $("#form1").find('.form-control,select,input').attr('readonly', 'readonly');
                $("#form1").find('div.ckbox label').attr('for', '');
            }
        });
    });
</script>
<form id="form1">
    <div style="padding-top: 20px; margin-right: 20px;">
        <table class="form">
            <tr>
                <th class="formTitle" valign="top" style="padding-top: 5px;">操作指南标题</th>
                <td class="formValue" colspan="3">
                   @thisobj.Title
                </td>
            </tr>
            <tr>
                <th class="formTitle">添&ensp;加&ensp;者</th>
                <td class="formValue">
                    @thisobj.AddUserName
                </td>
            </tr>
            <tr>
                <th class="formTitle" valign="top" style="padding-top: 5px;">操作指南说明</th>
                <td class="formValue" colspan="3">
                   @Html.Raw(thisobj.ContenAbstract)
                </td>
            </tr>
        </table>
    </div>
</form>
